package com.yeyks.common.appcommon.param.platform;

import com.yeyks.common.appcommon.param.CommonPageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author: cah
 * @date: 2019/5/29 0029 11:03
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "查询反馈记录输入参数")
@Data
public class QueryFeedbackParam extends CommonPageParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("有效token")
    @NotBlank(message = "有效token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty("未读 false， 已读 true 全部 为空")
    private Boolean readed;
}
